package com.aaa.hospital.mapper;

import com.aaa.hospital.pojo.domain.*;
import com.aaa.hospital.pojo.query.JianyiQuery;
import com.aaa.hospital.pojo.query.PatientQuery;
import com.aaa.hospital.pojo.query.YuyueQuery;
import com.aaa.hospital.pojo.vo.AddProposal;

import java.util.List;

/**
 * Author:张海金
 * Description:T0D0
 * DateTime:2022/1/15 19:14
 **/

public interface PatientMapper {
    List<Patient>  queryPatient(PatientQuery query);

    Long queryPatientTotal(PatientQuery query);

    int updatestate(Integer id);

    List<Patient> getId(Integer id);

    List<Yuyue> list(YuyueQuery yuyueQuery);

    Yuyue query(Integer id);

    int add(AddProposal proposal);

    List<Jianyi> queryAll(JianyiQuery patient);

    Long queryAllTotal(JianyiQuery patient);

    int setrefuse(Integer id);

    int setState(Integer id);

    Long querylistTotal(YuyueQuery yuyueQuery);

    int remove(Integer id);


    Signin getNickname(String a);

    Patient getPatient(String name);

    Jianyi getProposal(String name);
}
